const saveAddress = store => {
  store.subscribe((mutation, state) => {
    if (mutation.type === 'address/saveAddress') {
      localStorage.setItem('address', JSON.stringify(state.address.addRess))
    }
  })
}
export default saveAddress
